all: hls 
hls:hls.cc
	g++ -g -std=c++17 hls.cc -o hls `pkg-config --libs --cflags libavformat libavcodec libswscale libavutil libswresample`
server:server.cc
	g++ -std=c++17 $^ -o $@ -lpthread
clean:
	rm -rf hls server